home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / objects-tty.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-04-21  |  1.3 KB  |  41 lines

  1. /* TTY-specific Lisp objects.
  2.    Copyright (C) 1995 Board of Trustees, University of Illinois
  3.    Copyright (C) 1995 Ben Wing
  4.  
  5. This file is part of XEmacs.
  6.  
  7. XEmacs is free software; you can redistribute it and/or modify it
  8. under the terms of the GNU General Public License as published by the
  9. Free Software Foundation; either version 2, or (at your option) any
  10. later version.
  11.  
  12. XEmacs is distributed in the hope that it will be useful, but WITHOUT
  13. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  14. FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  15. for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with XEmacs; see the file COPYING.  If not, write to the Free
  19. Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  20.  
  21. /* Synched up with:  Not in FSF. */
  22.  
  23. #ifndef _XEMACS_OBJECTS_TTY_H_
  24. #define _XEMACS_OBJECTS_TTY_H_
  25.  
  26. #include "objects.h"
  27.  
  28. struct tty_color_instance_data
  29. {
  30.   Lisp_Object tty_begin;
  31.   Lisp_Object tty_end;
  32. };
  33.  
  34. #define TTY_COLOR_INSTANCE_DATA(c)                 \
  35.   ((struct tty_color_instance_data *) (c)->data)
  36.  
  37. #define COLOR_INSTANCE_TTY_BEGIN(c) (TTY_COLOR_INSTANCE_DATA (c)->tty_begin)
  38. #define COLOR_INSTANCE_TTY_END(c) (TTY_COLOR_INSTANCE_DATA (c)->tty_end)
  39.  
  40. #endif /* _XEMACS_OBJECTS_TTY_H_ */
  41.